using UnityEngine;
using System.Collections;

public class WKObject : MonoBehaviour
{

    private WKObjModel _model; 

	// Use this for initialization
	void Start()
	{

	}

	// Update is called once per frame
	void Update()
	{
			
	}

	public void SetLayer(GameLayers layer)
	{
		base.gameObject.layer = layer.index;
		foreach (Collider collider in base.GetComponentsInChildren<Collider>(true))
		{
			collider.gameObject.layer = base.gameObject.layer;
		}
	}
}
